home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d3
/
rettig.arc
/
TRSOURCE.EXE
/
TR_FCNT.PRG
< prev
next >
Wrap
Text File
|
1990-10-22
|
407b
|
18 lines
*********
* Function : FLDCOUNT
* By : Ralph Davis
* Placed in the public domain by Tom Rettig Associates, 10/22/1990.
*********
FUNCTION FLDCOUNT
* Syntax: x = FLDCOUNT()
* Return: <expN> number of fields in current work area.
*
* Returns number of fields in a database file
* fldcount = INT(header size / 32) - 1
RETURN INT(HEADER() / 32) - 1
* End of function: FLDCOUNT